cmake_minimum_required(VERSION 3.22.1)

project("soundtouch")

set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../jniLibs/${ANDROID_ABI})

AUX_SOURCE_DIRECTORY(soundtouch SRC_LIST)

include_directories(soundtouch)

add_library(${CMAKE_PROJECT_NAME} SHARED
        soundtouch-jni.cpp
        ${SRC_LIST})

target_link_libraries(${CMAKE_PROJECT_NAME}
        log)
